package com.blog.mapper;

import com.blog.pojo.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {

    @Select("select * from admin where admin_name = #{adminName}")
    Admin getByAdminName(String adminName);
}
